Mosaizer Pro 12 - Help

Mosaic video

A brand new feature is to create mosaic movies with Mosaizer Pro. Here is an example that we made with the application. This is considered to be a highly professional feature (check out some Vimeo, YouTube movies, or even MTV sources!), and this feature is therefore only accessible for licensed users. For non-licensed users the resulting movie will show a (nag) 'Sample' text. There is no limit to the length and size of the movie. For practical reasons the resulting movie should better be kept small (when rendered to a video file), or otherwise save the individual frames to later create a movie out of these. The user needs to have basic knowledge of digital video management and how to work with video sources, codec, audio and video channels. The resulting video has NO audio channel and it needs to be re-muxed by the user in the post-processing stage (not part of Mosaizer Pro).

The user interface

The interface for creating mosaic movies is roughly split in three parts (see screenshot above):

  • 'Mosaic video input': the video source file from with the source pictures are taken for creating a mosaic, frame by frame
    • The filename of the input file. With the small button on the right the source video file is loaded. After successful opening the fiirst frame is shown in the interface on the left. Only if the checkbox, left of the file name, is checked the movie mosaic option is activated, and when the 'Start' button is pressed the movie will be created. When un-checked the application makes mosaic pictures of the current source file (can now also be the first frame, since this is now seen as the source picture!).
    • The file size and number of frames are shown after a successful loading of the video file. When strange numbers appear here you need to check if the source file is indeed a valid video source, with a known compression format (the corresponding codec must be available in the system to read the source file).
  • 'Mosaic video output options': the options and format for the output video: a movie or the individual frames
    • 'First frame': the first frame that must be used for the mosaic video. The maximum value of the starting frame must not exceed 90% of the total source video length.
    • 'No. of frames': the amount of frames that must be rendered by the mosaic engine, and saved to disk as frame of in a full video file. The count starts from the first frame. The number of frames can never exceed the available number of frames. For that reason the max limit of this slider is dynamically changed with changing first frame.
    • 'Sensitivity': this indicates at what threshold a new tile must be selected. It depends on the change of colour from frame to frame if a new tile is required. In most cases a value of 60% gives pretty good results. A lower value will generate modest frame changes, a highly sensitivity will probably change all the tiles with every frame.
    • 'Type of output': frames or as a video movie. In case 'Movie' is selected two additional settings appear: frame rate (the found frame rate is already selected), and codec for video compression. Only the list of available codecs is shown. Please make sure you select a coded that is also capable to encode as well as decode. A good codec to try is DivX or Xvid.
  • The dynamic path and zoom during the course of the movie (the large part on the left)
    • The top picture has two functions: to create the path and to show the path when the video is showing. The path is created by clicking the mouse at the desired location. As a result a suggested frame and zoom factor is proposed, and the horizontal and vertical coordinates (100% full scale) is shown in the table below the picture. The lime-coloured path is redrawn each time a new point is added.
    • By pressing the 'Start' button the simulation is started, showing the dynamic panning and zooming as indicated by the frame data in the table. With the 'Pause/Resume' and 'Stop' button the video player can be controlled.
    • The values in the table can be edited, by double-clicking in a cell and change the data. The path in the picture is immediately refreshed.
    • Right-clicking in the table will show a pop-up menu to delete or insert a new data point. The current row is deleted, or at the current row a new point is inserted.
    • Each time a new point is created by clicking on the picture a frame and zoom factor is proposed. The zoom factor is calculated by taking the minimum zoom that is needed to avoid a white edge. The corresponding frame proposal is calculated from the difference of the previous frame where one frame can handle on zoom point at the time.
    • It is highly recommended to increase the suggested zoom factor with a few points. Also the zoom speed (between two frame values in the table) should at least be twice the number of frames to avoid 'jerky' movements in the mosaic movie. The zoom factor represents the tile size, so a zoom value of 200 means that the tile size will be doubled at that moment.
    • The zoom factor is also limited by the paper size (yes...) as indicated in the 'Quality' tab. To allow for large zoom factors the paper size should be set to XXL (only possible for licensed users). A special license is required to remove the limit of the zoom factor (also for licensed users it is limited to 500, or 5x the initial tile size). Since this tool is capable to create MTV-quality videoclips the zoom factor limit value is only removed for (professional) users, with a special additional license. Please contact us for more information on the pricing.
    • When simulating the video path the sound can be muted.
    • Simulation playback can be done in two ways: showing the actual zoom and panning result, or showing the full frame, but the panning and zoom-in is done by a rectangular bounding box, showing what portion of the video will be enlarged/panned.
    • The 'Remarks' field is for convenience, to make notes on the choice of the settings for panning, zoom and position.
    • A new point should not be made by filling a new row in the table. It only recognizes a click on the picture above, or when inserting a new point. Any new point should then be edited.
  • The current path grid can be saved via 'Projects' 'Save movie path' . Similarly, the existing paths can also be reloaded in a new session.

Steps for mosaic movie

Step 1: select the video source file
Use the button on the right top to select a video source file. The codec must be recognized by the application. Good codecs are usually Xvid, DivX. The video source file does not need to be in hi-res to create a hi-res movie (e.g. 1920x1440 output size). Source formats of 480 width is pretty much good enough. When a blend is required some larger sizes may be useful, like 800 pixels width. Large input size will take much more time to process.

Step 2: set the desired size
Use the normal tile size and amount sliders in the 'Quality' tab to select the initial mosaic quality. The frame output size is indicated on the right, between the two function groups ('Frame size: 1280 x 688 px'). The indicated size will be the final size of the entire movie (or each frame). The selected tile size is the 100% size for the 100% zoom factor. A zoom of 200 will double that size, etc. A zoom value lower than 100 is therefore not allowed.

Step 3: create a path
Use the mouse to click on a few places in the picture to create a path. Then edit the values, taking the minimum zoom factor into account to avoid white edges in the output file. When no zoom and panning is required, skip this step. There must at least be one point available to start a mosaic movie creation. This is usually the (50,50) point with a 100% zoom (already indicated).

Step 4: check the dynamics of the path
If a path is created, check the dynamics of the path. Press the 'Start' button in the movie windows (not the general start button to start any mosaic creation). Check, correct and check again. Use right-click in the table to add or delete points, or click on the picture to add new points (will be appended to the last known point).

Step 5: select output type
Make sure you select the correct movie codec. The codec must be capable to encode the movie, rather than to decode the movie (at playback you decode). When frames are selected the frames will be saved in a sub-folder of the save path (see 'Folders' 'Open save folder' to detect what folder is used for default save). It's good practice to first save as individual frames and check the frames thoroughly in the windows explorer before to make the final movie. In most cases frames are a favourite choice to allow for post-processing and finalizing the movie for (commercial) purposes. Saving as a movie is useful for an initial assessment of the aspired effects. Also select the frames that need to be rendered: the first frame and the total amount of frames. Don't forget to also set the sensitivity of colour change between frames. A value of 60% is pretty good, but each project can have different wishes for dynamics. The best way is to start small (e.g. 200 frames at the time) and see the effect of the sensitivity setting (save as 'Movie' to effectively see the effect).

Step 6: render the movie
Check the tickbox next to the source video file name. The mosaic movie option is now active. Then press the 'Start' button (the general start button on the left). The movie rendering will now start. First each frame is analysed, then each frame is created. Depending on the system each mosaic frame can take between 0.5 and 2 seconds to complete, and is of course heavily depending on the library size and resizing actions.

Error codes for mosaic video

The application checks if the path is defined in the correct way. It will check several situations that might result in a possible error or faulty mosaic frame. These are the codes that are generated:

  • 1: frame < 0 is not allowed.
  • 2: horizontal panning value < 0 is not allowed.
  • 3: vertical panning value < 0 is not allowed.
  • 4: horizontal panning value > 100 is not allowed.
  • 5: vertical panning value > 100 is not allowed.
  • 6: the zoom factor is too small to show the full mosaic in the frame in combination with the panning values. Zoom value should be higher or panning must be adapted.
  • 7: the zoom factor is larger than the maximum allowed value of 500 for non-professional licenses.
  • 8: the frame number is higher than the available amount in the footage video.
  • 9: the zoom factor is smaller than 100 (the minimum value for the zoom factor is 100%).
  • 10: two following frames in the path table are equal or the next frame is smaller than the previous one. This check is only done on a row-by-row basis. The user has to check if illogical frame sequences are still occurring in the full table.


Copyright © 2006-2016 APP Helmond